Skip to content

Conversation

@shubham220420
Copy link
Contributor

Progresses: #9416

Description

What is the purpose of this pull request?

This pull request:

  • This PR adds the mean calculation for half-normal distribution function.

Related Issues

Does this pull request have any related issues?

This pull request has the following related issues:

Questions

Any questions for reviewers of this pull request?

No.

Other

Any other information relevant to this pull request? This may include screenshots, references, and/or implementation notes.

No.

Checklist

Please ensure the following tasks are completed before submitting this pull request.

AI Assistance

When authoring the changes proposed in this PR, did you use any kind of AI assistance?

  • Yes
  • No

If you answered "yes" above, how did you use AI assistance?

  • Code generation (e.g., when writing an implementation or fixing a bug)
  • Test/benchmark generation
  • Documentation (including examples)
  • Research and understanding

Disclosure

Yes I took help of AI for creating test cases under the fixtures/julia directory.

{{TODO: add disclosure if applicable}}


@stdlib-js/reviewers

@stdlib-bot stdlib-bot added Statistics Issue or pull request related to statistical functionality. Needs Review A pull request which needs code review. labels Jan 7, 2026
@stdlib-bot
Copy link
Contributor

stdlib-bot commented Jan 7, 2026

Coverage Report

Package Statements Branches Functions Lines
stats/base/dists/halfnormal/mean $\color{green}166/166$
$\color{green}+0.00%$
$\color{green}8/8$
$\color{green}+0.00%$
$\color{green}2/2$
$\color{green}+0.00%$
$\color{green}166/166$
$\color{green}+0.00%$

The above coverage report was generated for the changes in this PR.

Copy link
Member

@Planeshifter Planeshifter left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Flagged a bunch of issues.

@Planeshifter Planeshifter added Needs Changes Pull request which needs changes before being merged. and removed Needs Review A pull request which needs code review. labels Jan 7, 2026
@shubham220420
Copy link
Contributor Author

shubham220420 commented Jan 7, 2026

thankyou for your reviews sir @Planeshifter , I have applied the requested changes.
Incase any lint error occurs I'll solve it, I've been working on this module from quite few hours now, and will look further tomorrow

@Planeshifter Planeshifter changed the title feat!: add implementation of halfnormal/mean feat: add implementation of halfnormal/mean Jan 7, 2026
Copy link
Member

@Planeshifter Planeshifter left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for your continued efforts! Should be ready to land soon.

Copy link
Member

@Planeshifter Planeshifter left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A few last comments.

---
type: pre_commit_static_analysis_report
description: Results of running static analysis checks when committing changes.
report:
  - task: lint_filenames
    status: passed
  - task: lint_editorconfig
    status: failed
---
@shubham220420
Copy link
Contributor Author

shubham220420 commented Jan 10, 2026

Hey sir I have applied the requested changes.

@stdlib-bot stdlib-bot added the Needs Review A pull request which needs code review. label Jan 10, 2026
Signed-off-by: Shubham <[email protected]>
Copy link
Member

@Planeshifter Planeshifter left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should be ready to merge soon; thanks!

@shubham220420
Copy link
Contributor Author

applied changes @Planeshifter

Copy link
Member

@Planeshifter Planeshifter left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's get it in!

@Planeshifter Planeshifter added the Ready To Merge A pull request which is ready to be merged. label Jan 16, 2026
@stdlib-bot stdlib-bot removed Needs Review A pull request which needs code review. Needs Changes Pull request which needs changes before being merged. labels Jan 16, 2026
@stdlib-js stdlib-js deleted a comment from stdlib-bot Jan 16, 2026
@Planeshifter Planeshifter added Ready To Merge A pull request which is ready to be merged. and removed Ready To Merge A pull request which is ready to be merged. labels Jan 16, 2026
@stdlib-bot
Copy link
Contributor

PR Commit Message

feat: add implementation of `halfnormal/mean`

PR-URL: https://github.com/stdlib-js/stdlib/pull/9613
Ref: https://github.com/stdlib-js/stdlib/issues/9416

Reviewed-by: Philipp Burckhardt <[email protected]>
Signed-off-by: Shubham <[email protected]>

Please review the above commit message and make any necessary adjustments.

@Planeshifter Planeshifter merged commit 242c076 into stdlib-js:develop Jan 16, 2026
50 checks passed
@stdlib-bot stdlib-bot removed the Ready To Merge A pull request which is ready to be merged. label Jan 16, 2026
@shubham220420
Copy link
Contributor Author

Let's get it in!

thankyou! was so good working on this, looking to contribute even more now!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Statistics Issue or pull request related to statistical functionality.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants